package com.xiaoge.mapper;

import com.xiaoge.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

/**
 * TODO
 *
 * @author <a href="mailto:1330137071@qq.com">Zhang Xiao</a>
 * @since
 */
@Mapper
public interface UserMapper {

  /**
   * 根据id查询用户
   * @param id
   */
//  @Select("select * from user where id = #{id}")
//  @ResultMap(value = {"userMap"})
  User findById(Integer id);
}
